package tech.aistar.day05.test;

public class Worf extends Animal {
	private String name;
	private double weight;

	public Worf(String name, double weight) {
		//super();
		System.out.println("====3====");
		this.name = name;
		this.weight = weight;
	}

	public String getDesc() {
		System.out.println("====2=====");
		return "Wolf:" + name + ",Weight:" + weight;
	}

	public static void main(String[] args) {
		System.out.println(new Worf("泰迪", 10));
	}
	//Wolf:null,Weight:0.0
}
